#ifndef __CALLBACKTIMER_H_
#define __CALLBACKTIMER_H_

#include "ariba/ariba.h"
#include "ariba/utility/system/Timer.h"

using ariba::utility::Timer;
using std::string;

typedef void(*CallbackFunctionPointer)();

class CallbackTimer: public Timer {
	use_logging_h(CallbackTimer)

public:
	CallbackTimer(CallbackFunctionPointer callbackFunction);
	virtual ~CallbackTimer();

protected:
	virtual void eventFunction();

private:
	CallbackFunctionPointer callback;
};

#endif // __CALLBACKTIMER_H_
